
<style>
    .header-tr {
        background-color: #3c8dbc;
        color: white;
        font-weight: bolder;
        font-size: larger;
        height: 38px;
        text-align: center;
    }
    .first-category{
        background-color: white;
        color: black;
        font-weight: bolder;
        font-size: larger;
        height: 30px;
        text-align: center;
    }
</style>



<section class="content-header">
    <h1 style="display: inline-block;">&nbsp;&nbsp;&nbsp;资讯分类</h1>
    <h4 style="display: inline-block;color: #707070">&nbsp;&nbsp;资讯分类列表

    </h4>
</section>
<a href="/pte/add_fenlei"><button id="add_fenlei" class="button" style="float:right;width: 100px;;height:30px;background-color: #00ca6d;border:none;color: white;border-radius: 3px">+增加分类</button></a>
<section class="content">

    <div class="role_content">
        <table class="table_list" id="table_my_toast"></table>
        <section class="content">
            <div style="min-width:1000px;">
                <table style="width:100%;" class="prodCate-table" id="product-table" border="1" bordercolor = "d4d9dc" cellspacing="0" cellpadding="0">

                    <thead>
                    <tr class="header-tr">
                        <td class="">分类序号</td>
                        <td class="">分类名</td>
                        <td class="">操作</td>
                        <!--<td class=""

                        ><a href="/pte/add_fenlei">增加</a></td>-->
                    </tr>
                    </thead>
                    <tbody>

                    <%for(var i=0;i<data.length;i++){%>
                    <tr class="first-category">
                        <td class="check-td"><%=data[i].category_id%></td>
                        <td class="check-td"><%=data[i].cate_name%></td>
                        <td class="check-td">
                            <a href="javascript:void(0)" style="color: #ff851b" data-id="<%=data[i].category_id%>" class="delete">删除</a>/
                            <a href="/pte/update_fenlei?category_id=<%=data[i].category_id%>">编辑</a>
                        </td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
            </div>

        </section>
        <!-- 分页框 -->
        <div class="page_control" id="paging_my_toast"><ul></ul></div>
    </div>
</section><!-- /.content -->

